#!/bin/sh

cd ../..

pushd .
cd test/src
mkdir -p build
cd build
cmake ..
make -j8

popd

pushd .
cd tools/linux
sh build_service_lib.sh
popd

pushd .
cd tools/linux
sh build_service_stub.sh
sh publish.sh
popd

pushd .
cd demo/service
mkdir -p build
cd build
cmake ..
make -j8

popd

pushd .
cd demo/client
mkdir -p build
cd build
cmake ..
make -j8
popd